[ardoHTTP] Headers with the same name

Forge Component
(19)
Published on 20 Jan by Ricardo Silva
19 votes
Published on 20 Jan by Ricardo Silva

Hi,

I think there is limitation with some actions in this extension in regards to Response Headers with the same name.. for instance the Set-Cookie response header that returns all cookies with the entire information of each cookie..

Am I wrong? If so, why I'm getting only "set-cookie: ASP.NET_SessionId..." and not "set-cookie: osVisitor..." when using HTTPHead action?

If I'm right, is there a way to get all Response Headers ?

note: my goal is to get the "expires" property of "Users" cookie.

Cheers,

Tiago

Solution

Tiago Lopes wrote:

Hi,

I think there is limitation with some actions in this extension in regards to Response Headers with the same name.. for instance the Set-Cookie response header that returns all cookies with the entire information of each cookie..

Am I wrong? If so, why I'm getting only "set-cookie: ASP.NET_SessionId..." and not "set-cookie: osVisitor..." when using HTTPHead action?

If I'm right, is there a way to get all Response Headers ?

note: my goal is to get the "expires" property of "Users" cookie.

Cheers,

Tiago

Tiago

Try out the  REST Extender Component - I built it out of a need to work effectively with the cookies in the headers.

Hanno


Solution

Hanno wrote:

Tiago

Try out the  REST Extender Component - I built it out of a need to work effectively with the cookies in the headers.

Hanno

Thanks Hanno,

I solved my problem without the need of getting the all the Set-Cookie headers..
Anyway your component seems very helpful.. thanks for sharing

Cheers,

Tiago