HTTPSecureSocket drops empty header fields

When setting the requestdata via dictionary, one entry is:

“Expect” = “”

When added to the httpsecuresocket, Expect gets dropped. It should exist with a nil value. It cannot contain a space or any other character. How to get the socket to maintain the empty header object “Expect”?

This header data appears in all new OAuth API’s and will be standard as of 2015. I updated the secure socket to use http 1.1 protocol in place of http 1.0 (xojo standard) so the servers won’t reject the connection. But now, with “Expect” being dropped, the “expected” data cannot be retrieved from the new OAuth protocol. (I’m updating classes that will implement this when it becomes standard using the new OAuth sandboxes)

File a bug report Matt and we’ll take a look at it.