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

Default request headers #4

Open
billagee opened this issue Jul 28, 2012 · 0 comments
Open

Default request headers #4

billagee opened this issue Jul 28, 2012 · 0 comments

Comments

@billagee
Copy link
Contributor

It would be nice if curly filled in a default set of request headers as you enter a URL to hit.

The user should be able to still add or remove headers before submitting or saving their request.

Ideas for default headers and values:

Host: (perhaps the host value could automatically contain the hostname the user typed into the URL box, if they've typed anything there yet)
User-Agent: curly
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8

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

1 participant