Skip to content

Headers substitutions were not being expanded by the value name#161

Merged
codefromthecrypt merged 1 commit intoOpenFeign:masterfrom
jdamick:header_fixes
Feb 4, 2015
Merged

Headers substitutions were not being expanded by the value name#161
codefromthecrypt merged 1 commit intoOpenFeign:masterfrom
jdamick:header_fixes

Conversation

@jdamick
Copy link
Copy Markdown
Contributor

@jdamick jdamick commented Feb 4, 2015

Header params were using the header name instead of the value.

So if you had:

@Header({'Auth-Token', 'authToken'})
public String get(@Param('authToken') token);

It was looking up by 'Auth-Token' instead of 'authToken' so it wouldn't substitute the value in 'token' above.

@cloudbees-pull-request-builder
Copy link
Copy Markdown

NetflixOSS » feign » feign-pull-requests #45 SUCCESS
This pull request looks good

@codefromthecrypt
Copy link
Copy Markdown
Contributor

whoops. thanks for the fix!

@codefromthecrypt codefromthecrypt added this to the 7.2.1 milestone Feb 4, 2015
codefromthecrypt pushed a commit that referenced this pull request Feb 4, 2015
Headers substitutions were not being expanded by the value name
@codefromthecrypt codefromthecrypt merged commit c6db67a into OpenFeign:master Feb 4, 2015
@codefromthecrypt
Copy link
Copy Markdown
Contributor

when I get home, I'll cherry-pick into 7.x

we should collect any other bugs you, others, or I pickup prior to cutting 7.2.1 maybe timeout of next mondayish.

@jdamick
Copy link
Copy Markdown
Contributor Author

jdamick commented Feb 5, 2015

this is actually blocking us right now.. is it possible to release it sooner?

@codefromthecrypt codefromthecrypt mentioned this pull request Feb 5, 2015
velo pushed a commit that referenced this pull request Oct 8, 2024
Headers substitutions were not being expanded by the value name
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.

3 participants