Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: 2.2.3
    • Fix Version/s: 2.3.0
    • Component/s: Core
    • Labels:

      Description

      In org.springframework.ws.transport.http.HttpUrlConnection we find the following code:

      @Override
      	public Iterator<String> getResponseHeaders(String name) throws IOException {
      		Map<String, List<String>> mapHeader = connection.getHeaderFields();
      		List<String> listHeaderValues = mapHeader.get(name);
      		if (listHeaderValues == null) {
      		    return Collections.<String>emptyList().iterator();
      		} else {
      		    return listHeaderValues.iterator();
      		}
      	}
      

      This code returns an Iterator containing the HTTP-Header(s) that matches the parameter "name" . The problem is that this is case sensitive. According to the RFC HTTP-Headers are case-insensitive

        Activity

          People

          • Assignee:
            gregturn Greg Turnquist
            Reporter:
            oddgeir.gitlestad@gmail.com Oddgeir Gitlestad
          • Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: