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

fix headers regression #293

Closed
wants to merge 1 commit into from
Closed

Conversation

pavelmash
Copy link
Collaborator

Introduced in [c5224e4]
My app use Content-length and Content-type: application/jon* headers from InHead string ( I pass InHead into JavaScript and and any of NPM lib what works with headers can read it)

synopse pushed a commit that referenced this pull request Mar 22, 2020
@synopse
Copy link
Owner

synopse commented Mar 22, 2020

I have introduced a new HeadersUnFiltered optional parameter to THttpServer.Create - as an alternative to this modification.

Our RESTful stack (ORM + SOA) doesn't need this information at all, since by convention ContentType='' is identified as JSON, and all connection specific headers are available outside of the headers. It slightly reduce memory usage, and speed up headers lookup.

This new flag would please your specific requirement, I hope.

@synopse synopse closed this Mar 22, 2020
@pavelmash pavelmash deleted the fix/httpSocHearedRegression branch March 23, 2020 09:04
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.

2 participants