Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Addition of functionality of custom response headers, request type, content type and status code. #251

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

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