[Charset ISO-8859-1 unsupported, filtering to ASCII...] > I've been playing with oacurl https://code.google.com/apis/buzz/v1/oacurl.html > and tried to use it to send a tweet. > > oacurl sends Expect: 100-Continue but Twitter rejects this with "we > only allow the 100-continue expectation". > > This seems to violate > http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.20 > "Comparison of expectation values is case-insensitive for unquoted > tokens (including the 100-continue token)". > > Is this fixable, or avoidable in the meantime? (I know about twurl, > but oacurl seems generic - can I use twurl to make oauth calls to > MySpace?)
Just change the header to simply send a blank "Expect:". With regular cURL a simple -H "Expect:" will work. -- ------------------------------------ personal: http://www.cameronkaiser.com/ -- Cameron Kaiser * Floodgap Systems * www.floodgap.com * [email protected] -- I couldn't care less about apathy. -----------------------------------------
