1. Michael Johnson
  2. PowerServer 2020 or older (Obsolete)
  3. Thursday, 31 January 2019 19:25 PM UTC

Does anyone know what other attributes are available for the AppeonGetHttpInfo function.

help docs only mention 'HOST' and 'COOKIE'.

trying 'USER_AGENT' but that gives a error.

TIA

Mike

Roland Smith Accepted Answer Pending Moderation
  1. Thursday, 31 January 2019 20:50 PM UTC
  2. PowerServer 2020 or older (Obsolete)
  3. # 1

It is User-Agent, not USER_AGENT.

I would hope that the function would work for all of them. The list and definition can be found here:

https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html

 

Comment
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Thursday, 31 January 2019 20:17 PM UTC
  2. PowerServer 2020 or older (Obsolete)
  3. # 2

Hi Michael;

  I have the following working in my frameworks ...

  • of_Gethttpinfo ( "Host")
  • of_Gethttpinfo ( "Cookie" )    
  • of_Gethttpinfo ( "User-Agent" )        
  • of_Gethttpinfo ( "Connection" )

   What does not work (and I opened a ticket on this already some time ago) is  ... of_Gethttpinfo ( "Accept-Language" ). However, I'll retry this again under PS2019 that was just released today.

HTH

Regards ... Chris

Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.