Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Web-Machine CPAN distribution.

Report information
The Basics
Id: 101217
Status: resolved
Priority: 0/
Queue: Web-Machine

People
Owner: Nobody in particular
Requestors: SMITHFARM [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: B6 is content_headers_okay or valid_content_headers?
In Web::Machine::FSM::States we have: $STATE_DESC{'b6'} = 'content_headers_okay'; sub b6 { my ($resource, $request, $response) = @_; ... $resource->valid_content_headers( $content_headers ) ? \&b5 : \501; } The first line of the quote mentions 'content_headers_okay' while the second-to-last calls 'valid_content_headers' - shouldn't these two be the same?
The names in the STATE_DESC should match the description from the (basho) Web Machine state diagram, they do not always correspond with the methods called and I see no real reason why they should as I am sure there are cases where they represent a combination of method calls.