MessageHeaders.getExpectations

soup.types.Expectation getExpectations()

Gets the expectations declared by hdrs's "Expect" header.

Currently this will either be soup.types.Expectation.Continue or soup.types.Expectation.Unrecognized.

Returns

the contents of hdrs's "Expect" header