-
Notifications
You must be signed in to change notification settings - Fork 27
Open
Labels
Description
Servlets need Content-Type: text/html header please:
[root@centos ~]# curl -v http://localhost:8080/spiracle/Get_int?id=1
* About to connect() to localhost port 8080 (#0)
* Trying ::1... connected
* Connected to localhost (::1) port 8080 (#0)
> GET /spiracle/Get_int?id=1 HTTP/1.1
> User-Agent: curl/7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.15.3 zlib/1.2.3 libidn/1.18 libssh2/1.4.2
> Host: localhost:8080
> Accept: */*
>
< HTTP/1.1 200 OK
< Server: Apache-Coyote/1.1
< Content-Length: 1601
< Date: Thu, 13 Nov 2014 16:54:50 GMT
<