Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-24591

Setting "Transfer-Encoding : chunked" programatically with netty HttpHeaders was forbidden in previous versions

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not a Bug
    • Icon: Blocker Blocker
    • None
    • 7.4.10.CR1
    • Server
    • False
    • Hide

      None

      Show
      None
    • False

      Setting "Transfer-Encoding : chunked" programatically with netty HttpHeaders was forbidden in previous versions

      HttpRequest request = new DefaultFullHttpRequest(
      HttpVersion.HTTP_1_1, HttpMethod.GET, testURL.toString());
      HttpHeaders headers = request.headers();
            
      headers.set("Transfer-Encoding ", "chunked");

       

      was throwing an exception with a message ... "a header name cannot contain the following prohibited characters"

       

              thofman Tomas Hofman
              psotirop@redhat.com Panagiotis Sotiropoulos (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: