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

Mandatory, Optional and Problematic Response Headers #4

Open
CMCDragonkai opened this issue Mar 12, 2014 · 0 comments
Open

Mandatory, Optional and Problematic Response Headers #4

CMCDragonkai opened this issue Mar 12, 2014 · 0 comments
Labels

Comments

@CMCDragonkai
Copy link
Member

Mandatory

  1. Location

Optional

  1. All the other headers

Problematic

  1. Content-Length - This has a problem with gzip encoding. Is the Content-Length the original content-length, the length after scraping, the length after scraping in inserting into SnapSearch's JSON REST structure or the length of the encoded response after sending to the client. The easiest way, don't bother adding this header.
  2. Content-Type - It will always be HTML, but the problem is, it could also be XHTML... etc.
  3. Any header dealing with encoding such as transfer encoding.. etc.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant