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

Tune HTTP examples #421

Merged
merged 1 commit into from Dec 13, 2017
Merged

Tune HTTP examples #421

merged 1 commit into from Dec 13, 2017

Conversation

reschke
Copy link
Contributor

@reschke reschke commented Nov 17, 2017

  • add type
  • consistently indent
  • trailing lines for requests
  • add mandatory Host header fields

HEAD /resource HTTP/1.1
Host: example.com
Range: bytes=0-

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you think the blank lines at the end of the examples are really necessary? (Presume the intent is to show the terminating \n\n?)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We do it in the base specs as well...

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good enough reason for me. Consistency is good....

@craigpratt craigpratt merged commit 98ce211 into master Dec 13, 2017
@craigpratt craigpratt deleted the reschke-rand-http-example branch December 13, 2017 07:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

None yet

2 participants