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

Minor adjustments #4

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

Minor adjustments #4

wants to merge 4 commits into from

Conversation

zaptm
Copy link

@zaptm zaptm commented May 3, 2012

Some minor adjustments. Added accept to the request and fixed an issue when the url was something like http://xyz.tld/.

zaptm added 4 commits May 2, 2012 11:37
Some services supports several return formats and use the "Accept" HTTP
header to differentiate. Added header to make sure the expected format
is returned with these.
Urls like http://xyz.com/ caused the resource part in the request to be
ignored.
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.

1 participant