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

Examples #71

Open
Onepamopa opened this issue Jan 30, 2021 · 2 comments
Open

Examples #71

Onepamopa opened this issue Jan 30, 2021 · 2 comments

Comments

@Onepamopa
Copy link

Onepamopa commented Jan 30, 2021

Hello,

Since the WIKI page is empty, where can I find more information (examples) on basic usage, such as - get the value of a specific header (for example - a custom header X-Test-With, Accept, or the Host header) ?

And why If I try to use path without path_len and %.*s I get the whole request ?

Also, how do I do strncmp on headers[k].name or headers[k].value ? Doing it the "normal" way:
if (strncmp(headers[i].name, "X-Test-With", 11) == 0) { } -- doesn't detect them at all ....

@Onepamopa
Copy link
Author

Anyone on this?

@arkadesOrg
Copy link

arkadesOrg commented Sep 11, 2022

git clone https://github.com/h2o/h2o

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

No branches or pull requests

2 participants