[arquillian-issues] [JBoss JIRA] Commented: (ARQAJO-28) Support addCustomRequestHeader(String, String) for AjaxSelenium

Lukas Fryc (JIRA) jira-events at lists.jboss.org
Thu Feb 24 03:43:13 EST 2011


    [ https://issues.jboss.org/browse/ARQAJO-28?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12584350#comment-12584350 ] 

Lukas Fryc commented on ARQAJO-28:
----------------------------------

Karel, I support there is no need for object encapsulation of request headers?

Do you want to contribute some code around authorization to Ajocado utilities?
I can imagine to have encodeCredentials there.

> Support addCustomRequestHeader(String,String) for AjaxSelenium
> --------------------------------------------------------------
>
>                 Key: ARQAJO-28
>                 URL: https://issues.jboss.org/browse/ARQAJO-28
>             Project: Arquillian Ajocado
>          Issue Type: Feature Request
>    Affects Versions: 1.0.0.Alpha1
>            Reporter: Karel Piwko
>            Assignee: Lukas Fryc
>             Fix For: 1.0.0.Alpha2
>
>
> AjaxSelenium is not able to add a custom request header to request. 
> DefaultSelenium functionality allows you to modify all out coming requests by adding a header(it can't be removed though). This is need for testing things like HTTP Basic Authorization.
> e.g.
> <code>browser.addCustomRequestHeader("Authorization", "Basic " + encodeCredentials("user", "password"));</code>

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the arquillian-issues mailing list