Announcement

Collapse
No announcement yet.

Can MvCALL specify a value for the User-Agent header?

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Can MvCALL specify a value for the User-Agent header?

    The title says it all ... I'm looking at a payment-module project that may require a custom value for the User-Agent request header. I know that there's a default value for this header in MvCALL requests; I've seen it occasionally during debugging. Can I override that by specifying a new one in the HEADERS attribute of MvCALL?

    Thanks --
    Kent Multer
    Magic Metal Productions
    http://TheMagicM.com
    * Web developer/designer
    * E-commerce and Miva
    * Author, The Official Miva Web Scripting Book -- available on-line:
    http://www.amazon.com/exec/obidos/IS...icmetalproducA

  • We don't set a User-Agent header in the engine. I believe all we set is Content-Length and sometimes the Content-Type (based on the METHOD attribute). You can set your own User-Agent header via the HEADERS attribute as you suggested.
    David Carver
    Miva, Inc. | Software Developer

    Comment

    Working...
    X

    This website uses cookies to identify visitors, track visitors to our website, store login session information and to remember your user preferences. By continuing to use this site you agree to our use of cookies. Learn More.

    This website uses cookies. By continuing to use this site you agree to our use of cookies. Learn More.

    Accept