Search code examples
c++chilkat

How to clear Chilkat CkHttpRequest Path property?


In the Chilkat CkHttpRequest C++ class, how to clear the Path property? It is always set to '/', even if I set the Path property to an empty string! I must be able to do that, since if I am setting the HttpVerb property to "OPTIONS", then I want the path to be '*' and not "/*".


Solution

  • Thanks. Chilkat did not account for the one case where the Path might not start with a "/", and it's for the "OPTIONS *" case as you described.

    I'll update Chilkat for the next version to allow "*".

    You can get a pre-release build if you are a licensed customer with non-expired support/maintenance (by sending email to [email protected])