Skip to content

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

Open
Sahil-Gulati wants to merge 7 commits into
johnwheeler:masterfrom
Sahil-Gulati:master
Open

Addition of functionality of custom response headers, request type, content type and status code.#251
Sahil-Gulati wants to merge 7 commits into
johnwheeler:masterfrom
Sahil-Gulati:master

Conversation

@Sahil-Gulati
Copy link
Copy Markdown

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