summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
7d5fbd9)
Content-Type kann auch noch Attribute wie »; charset=UTF-8«
enthalten. Muss ignoriert werden.
$target->{$_} = $self->post_data->{$_} for keys %{ $self->post_data };
$target->{$_} = $self->post_data->{$_} for keys %{ $self->post_data };
- } elsif (($ENV{CONTENT_TYPE} // '') eq 'application/json') {
+ } elsif (($ENV{CONTENT_TYPE} // '') =~ m{^application/json}i) {
$self->post_data(_parse_json_formdata($content));
} else {
$self->post_data(_parse_json_formdata($content));
} else {