remain case sensitive of http header name and value,and expose headers as getter

Bug #674342 reported by zhouyanming on 2010-11-12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
GNU WebSocket4J
maarons at GNU

Bug Description

websocket4j.server.WebSocket.handshake(Object... args)

String name = parts[0].toLowerCase();
String value = parts[1].toLowerCase();


String name = parts[0];
String value = parts[1];

and compare strings like name.equalsIgnoreCase("Upgrade")

and expose cookie,host,origin

private String cookie;

public String getCookie() {
 return cookie;

Changed in websocket4j:
importance: Undecided → Wishlist
assignee: nobody → Marek Aaron Sapota (maarons)
milestone: none → v1.4
status: New → Fix Committed
assignee: Marek Aaron Sapota (maarons) → maarons at GNU (maarons-gnu)
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers