cURL cURL > Mailing List > Monthly Index > Single Mail

curl-tracker Archives

[curl:bugs] #1412 Problems reading from stdin

From: Torbjorn Tornkvist <kruskakli_at_users.sf.net>
Date: Thu, 14 Aug 2014 08:41:18 +0000

---
** [bugs:#1412] Problems reading from stdin**
**Status:** open
**Created:** Thu Aug 14, 2014 08:41 AM UTC by Torbjorn Tornkvist
**Last Updated:** Thu Aug 14, 2014 08:41 AM UTC
**Owner:** nobody
When I'm piping stuff into curl using '-T -' the Webserver just replies with an 100 Continue. But when I remove the '-T -' it replies as expected.
Example, (100 Continue case):
 echo "hello" | curl 'http://......' -X POST -T - -H "Content-Type: ...."
Working case:
 echo "hello" | curl 'http://......' -X POST -H "Content-Type: ...."
I'm running Linux Mint 17 and I have tried both curl 7.35.0 (default) and 7.37.1 and 7.29.0 (tried it from bash,dash,zsh).
NB: A collegue that runs an older version of Linux Mint can't reproduce this so I suspect it has something to do with my environment but I'm stumped and don't know where to look or what to test so any ideas would be appreciated.
---
Sent from sourceforge.net because curl-tracker@cool.haxx.se is subscribed to https://sourceforge.net/p/curl/bugs/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/curl/admin/bugs/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.
Received on 2014-08-14

These mail archives are generated by hypermail.