11.04.2013 Views

UniBasic Commands Reference - Rocket Software

UniBasic Commands Reference - Rocket Software

UniBasic Commands Reference - Rocket Software

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Note: Since a user-defined header or header value can be transferred, it is difficult<br />

to check the validity of parameters passed to the function. <strong>UniBasic</strong> currently will<br />

not perform syntax checking on the parameters, although it will reject setting a<br />

response header to a request. Refer to RFC 2616 for valid request headers.<br />

The header set by this function overwrites settings by setHTTPDefault().<br />

This function supports Base64 encoding for Basic authentication. If header_name<br />

contains either “Authorization” or “Proxy-Authorization”, the header_value should<br />

then contain ASCII text user credential information in the format of<br />

“userid:password”, as specified by RFC 2617. This function will then encode the<br />

text based on Base64 encoding.<br />

Only Basic authentication is supported. Digest authentication may be supported in<br />

the future. Basic authentication is not safe and is not recommended for use with<br />

transferring secured data.<br />

setRequestHeader 1-735

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!