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

add check timeout on retry #1

Open
wants to merge 25 commits into
base: master
Choose a base branch
from
Open

add check timeout on retry #1

wants to merge 25 commits into from

Conversation

anthonyhartanto
Copy link
Owner

add check timeout on retry

parnurzeal and others added 25 commits February 21, 2017 01:21
add a logger interface, and make the "logging" more flexible
- Don't allow buffers with nil contents to be passed to `http.NewRequest'
  constructor.

  Fixes errors like:

    Get https://[SOME-WEBSITE]: stream error: stream ID 1; REFUSED_STREAM

See parnurzeal#136 for further information.
correcting example's use of time.Second
…ues.

Also add a function `AppendHeader()` to support mutiple values of Header.
Parenthesis are not required around the condition in a if-statement in
Go
- Let editor can auto completion the types. e.g. vim-go.
- Add test cases for make sure they are correct.
Change SuperAgent.Header type to http.Header for support multiple values
Add option to prevent SuperAgent from clearing
Added doc for DoNotClearSuperAgent
Add references to the issue being addressed and better
comments and variablenames.
Don't infer Content-Type when set explicitly
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

Successfully merging this pull request may close these issues.