Menu

#1478 no data retuned when using curl from command line but link is up and running I can get data only for browser

closed-invalid
None
2
2015-02-20
2015-01-29
kiri
No

Hi guys,
I have a problem with curl for AIX 7.TL3 SP3

curl -V
curl 7.25.0 (powerpc-ibm-aix5.1.0.0) libcurl/7.25.0 OpenSSL/0.9.8| zlib/1.2.3 libidn/1.29 libssh2/1.2.7
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp
Features: IDN IPv6 Largefile NTLM NTLM_WB SSL libz

When I try this command
curl -l https://www.ibm.com/developerworks/cn/views/java/libraryview.jsp -k -v

No data is returned (no body, the link is up and running I can access it from firefox,ie)

What I see is Content-Length: 0

I tried from other AIX 6.1 Tl9 Sp2 and it worked.

Any suggestion?
Thanks,
Cosmin

Discussion

  • Dan Fandrich

    Dan Fandrich - 2015-02-01

    This command works for me with 7.34.0. If you're seeing Content-Length: 0 then the server has received your request and decided to answer it with an empty document. That might be because it didn't like the request for some reason, or it could just be a temporary server problem. Note also that -l is a useless option with http.

     
  • Daniel Stenberg

    Daniel Stenberg - 2015-02-01
    • status: open --> pending-invalid
     
  • Daniel Stenberg

    Daniel Stenberg - 2015-02-20
    • status: pending-invalid --> closed-invalid
    • assigned_to: Daniel Stenberg
     
  • Daniel Stenberg

    Daniel Stenberg - 2015-02-20

    No response, closing.

     
  • Daniel Stenberg

    Daniel Stenberg - 2015-02-20
     
  • Daniel Stenberg

    Daniel Stenberg - 2015-02-20

    No response, closing.

     
MongoDB Logo MongoDB