OpenNMS should fall back to HTTP/1.0 if virtual-host is not configured.

Description

While NMS-7503 is "expected" behavior (since the default http-version is 1.1, and HTTP 1.1 requires a Host: header), it's kind of confusing and non-obvious for someone who just wants to set up a page sequence to request something and doesn't rely on virtual hosts.

The best behavior would be to make the default by HTTP 1.0 if a virtual host is not set.

Acceptance / Success Criteria

None

Lucidchart Diagrams

Activity

Show:

Benjamin Reed February 24, 2015 at 12:38 PM

Fixed in foundation. Merged and modified for 15+ (which uses the HttpClientWrapper).

If the virtual host is not set, and HTTP version is 1.1, HTTP version is changed to 1.0.

Fixed

Details

Assignee

Reporter

Components

Affects versions

Priority

PagerDuty

Created February 24, 2015 at 11:43 AM
Updated May 11, 2015 at 2:49 PM
Resolved February 24, 2015 at 12:38 PM