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

added a way to set headers with a dictionary and changed how headers are set by default #339

Merged
merged 6 commits into from
Sep 21, 2018

Conversation

josephmancuso
Copy link
Member

This PR adds the ability to set headers via a dictionary:

request.header({
    'Cache-Control': 'max-age=3600'
})

@josephmancuso josephmancuso mentioned this pull request Sep 16, 2018
@josephmancuso josephmancuso requested a review from a team September 16, 2018 23:38
@josephmancuso josephmancuso changed the title added a way to set headers with a dictionary added a way to set headers with a dictionary and changed how headers are set by default Sep 16, 2018
@coveralls
Copy link

coveralls commented Sep 16, 2018

Coverage Status

Coverage increased (+0.03%) to 92.118% when pulling 761853d on add-dictionary-for-headers into d36c1fd on develop.

@josephmancuso josephmancuso requested review from a team and removed request for a team September 17, 2018 02:28
@josephmancuso josephmancuso merged commit fad4d56 into develop Sep 21, 2018
@josephmancuso josephmancuso deleted the add-dictionary-for-headers branch September 25, 2018 12:51
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.

2 participants