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

Posibility to check other headers / data and use them to set new headers #13

Open
GoogleCodeExporter opened this issue Apr 30, 2016 · 2 comments

Comments

@GoogleCodeExporter
Copy link

===Introduction===

I'm trying to set a "X-Original-URI" header based upon the URL accessed, but I 
think there is currently no way to do so.

I'm using the "JavaScript OAuth test tool" in order to test our OAuth 
installation. For this, I require the X-Original-URI header to be set properly 
to the same value as the URL I'm accessing. Unfortunately I seem not to be able 
to get the URL inside a "${ }" block.

Original issue reported on code.google.com by [email protected] on 4 Dec 2012 at 8:59

@GoogleCodeExporter
Copy link
Author

add new function for page position in the built attached

X-Sample: ${href()}
X-Sample: ${hostname()}
X-Sample: ${search()}
X-Sample: ${pathname()}

Original comment by [email protected] on 12 Dec 2012 at 9:04

Attachments:

@GoogleCodeExporter
Copy link
Author

hi man, attached you find a first hack for dyn header calculation,
currently you need do follow this seequence order
 (1) check "the countinuos JS"
 (2) on header button

i've seen only a problem the href is refresh oly after the loading so in your 
case could be a problem.. you should do always a second refresh.. solution in 
progress anyway ;)

Original comment by [email protected] on 13 Dec 2012 at 11:38

Attachments:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant