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 basicAuthenticationHeader function #1187

Closed
wants to merge 1 commit into from

Conversation

0xced
Copy link
Contributor

@0xced 0xced commented Apr 14, 2016

This addresses the issue that the Request.authenticate function can’t be used to authenticate on servers that don’t send an authentication challenge.

This new function is roughly the equivalent of AFNetworking’s -[AFHTTPRequestSerializer setAuthorizationHeaderFieldWithUsername:password:]

Related to #1159.

This addresses the issue that the `Request.authenticate` function can’t be used to authenticate on servers that don’t send an authentication challenge.

This new function is roughly the equivalent of AFNetworking’s -[AFHTTPRequestSerializer setAuthorizationHeaderFieldWithUsername:password:]

Related to Alamofire#1159.
@cnoon
Copy link
Member

cnoon commented May 8, 2016

Thanks for putting this together @0xced! I made a few small changes to the API and pushed into master in c2a282c while still keeping your attribution. Thanks again!

Cheers. 🍻

@cnoon cnoon closed this May 8, 2016
@cnoon cnoon added this to the 3.4.0 milestone May 8, 2016
@cnoon cnoon self-assigned this May 8, 2016
@0xced 0xced deleted the hidden-authentication branch May 8, 2016 19:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants