Skip to content

Conversation

@Sahil-Gulati
Copy link

Current scenario:
Content-Type → text/html; charset=utf-8

Returning JSON but getting Content-Type as text/html; charset=utf-8

Improved:
x-request-type → LaunchRequest /** Type of request. eg: LaunchRequest etc **/
Content-Type → application/json /** Can be changed. **/
x-dev-edition → flask-ask-devs /** Static header **/

Custom status code, request type, headers and content-type.

I hope this sounds meaningful to you. Few things are my requirements which can be a feature for your library. If you find it useful, please accept merge request. I want to further contribute in your implementation.

Thanks & Regards,
Sahil Gulati, SSE
Orange Business Services

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant