#3 — [NTUA Algorithms] Invalid URI-LIST
State | Unconfirmed |
---|---|
Area | Process |
Issue type | Bug |
Severity | Low |
Submitted by | Jeliazkov Vedrin |
Submitted on | Nov 30, 2009 |
Responsible | Jeliazkov Vedrin |
Last modified on
Nov 30, 2009
by
Jeliazkov Vedrin
A request for URI-LIST of non-existing algorithm id succeeds (code 200) and returns the invalid URI sent in the request:
ambit:/# curl -v -X GET -H "Accept:text/uri-list" http://opentox.ntua.gr:3000/algorithm/someinvalidid
* About to connect() to opentox.ntua.gr port 3000 (#0)
* Trying 147.102.82.32... connected
* Connected to opentox.ntua.gr (147.102.82.32) port 3000 (#0)
> GET /algorithm/someinvalidid HTTP/1.1
> User-Agent: curl/7.18.2 (x86_64-pc-linux-gnu) libcurl/7.18.2 OpenSSL/0.9.8g zlib/1.2.3.3 libidn/1.8 libssh2/0.18
> Host: opentox.ntua.gr:3000
> Accept:text/uri-list
>
< HTTP/1.1 200 The request has succeeded
< Content-Type: text/uri-list; charset=ISO-8859-1
< Content-Length: 53
< Date: Mon, 30 Nov 2009 20:36:18 GMT
< Vary: Accept-Charset, Accept-Encoding, Accept-Language, Accept
< Accept-Ranges: bytes
< Server: Noelios-Restlet/2.0m3
< Connection: close
<
http://opentox.ntua.gr:3000/algorithm/someinvalidid
* Closing connection #0
ambit:/#
ambit:/# curl -v -X GET -H "Accept:text/uri-list" http://opentox.ntua.gr:3000/algorithm/someinvalidid
* About to connect() to opentox.ntua.gr port 3000 (#0)
* Trying 147.102.82.32... connected
* Connected to opentox.ntua.gr (147.102.82.32) port 3000 (#0)
> GET /algorithm/someinvalidid HTTP/1.1
> User-Agent: curl/7.18.2 (x86_64-pc-linux-gnu) libcurl/7.18.2 OpenSSL/0.9.8g zlib/1.2.3.3 libidn/1.8 libssh2/0.18
> Host: opentox.ntua.gr:3000
> Accept:text/uri-list
>
< HTTP/1.1 200 The request has succeeded
< Content-Type: text/uri-list; charset=ISO-8859-1
< Content-Length: 53
< Date: Mon, 30 Nov 2009 20:36:18 GMT
< Vary: Accept-Charset, Accept-Encoding, Accept-Language, Accept
< Accept-Ranges: bytes
< Server: Noelios-Restlet/2.0m3
< Connection: close
<
http://opentox.ntua.gr:3000/algorithm/someinvalidid
* Closing connection #0
ambit:/#
- Steps to reproduce:
- 1) Launch the following curl request:
curl -v -X GET -H "Accept:text/uri-list" http://opentox.ntua.gr:3000/algorithm/someinvalidid
2) Check the result
No responses can be added.