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

implement better parse headers function #3

Open
3 of 4 tasks
tekjoey opened this issue Apr 2, 2024 · 1 comment
Open
3 of 4 tasks

implement better parse headers function #3

tekjoey opened this issue Apr 2, 2024 · 1 comment
Assignees

Comments

@tekjoey
Copy link
Owner

tekjoey commented Apr 2, 2024

  • - be able to handle CRLF and LF sperators
  • - handle (remove) extra LWS and CRLF
  • - handle header line begining with space/tabs (part of the previous header line)
  • - handle initial line with any number of spaces between fields
@tekjoey tekjoey added this to HTTPY Mar 28, 2024
@tekjoey tekjoey converted this from a draft issue Apr 2, 2024
@tekjoey tekjoey self-assigned this Apr 2, 2024
@tekjoey tekjoey pinned this issue Apr 2, 2024
@tekjoey
Copy link
Owner Author

tekjoey commented May 22, 2024

used regex to

  • remove extra spaces in initial line
  • to replace LWS '\r\n ' with CRLF '\r\n'

@tekjoey tekjoey moved this from In progress to Must implement in HTTPY Dec 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Must implement
Development

No branches or pull requests

1 participant