Skip to content

Missing Content-Type headers #8

@prateepb

Description

@prateepb

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
< 

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions