Skip to content
This repository has been archived by the owner on Feb 22, 2024. It is now read-only.

config: more information on why request fail #4

Open
retog opened this issue May 28, 2015 · 0 comments
Open

config: more information on why request fail #4

retog opened this issue May 28, 2015 · 0 comments

Comments

@retog
Copy link
Member

retog commented May 28, 2015

reto@reto-DevBox:~/projects/p3/p3-platform-reference-implementation$ cd /tmp/
reto@reto-DevBox:/tmp$ curl "http://localhost:8304/fusepool/config/?fusepool=http%3A%2F%2Fsandbox.fusepool.info%3A8181%2Fldp%2Fplatform"
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"/>
<title>Error 404 </title>
</head>
<body>
<h2>HTTP ERROR: 404</h2>
<p>Problem accessing /fusepool/config/. Reason:
<pre>    Not Found</pre></p>
<hr /><i><small>Powered by Jetty://</small></i>
</body>
</html>
reto@reto-DevBox:/tmp$ curl "http://localhost:8304/fusepool/config/"
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"/>
<title>Error 500 </title>
</head>
<body>
<h2>HTTP ERROR: 500</h2>
<p>Problem accessing /fusepool/config/. Reason:
<pre>    Internal Server Error</pre></p>
<hr /><i><small>Powered by Jetty://</small></i>
</body>
</html>

In both cases the response code should be 400, and the entity body should explain why the request is bad.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant