Skip to content

feat(mediatypes): improve docstring, simplify behaviour

Codecov / codecov/patch failed Oct 1, 2024 in 0s

40.56% of diff hit (target 100.00%)

View this Pull Request on Codecov

40.56% of diff hit (target 100.00%)

Annotations

Check warning on line 295 in falcon/app_helpers.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

falcon/app_helpers.py#L295

Added line #L295 was not covered by tests

Check warning on line 301 in falcon/app_helpers.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

falcon/app_helpers.py#L301

Added line #L301 was not covered by tests

Check warning on line 138 in falcon/http_error.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

falcon/http_error.py#L138

Added line #L138 was not covered by tests

Check warning on line 163 in falcon/http_error.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

falcon/http_error.py#L163

Added line #L163 was not covered by tests

Check warning on line 189 in falcon/media/handlers.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

falcon/media/handlers.py#L189

Added line #L189 was not covered by tests

Check warning on line 1170 in falcon/request.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

falcon/request.py#L1170

Added line #L1170 was not covered by tests

Check warning on line 1190 in falcon/request.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

falcon/request.py#L1190

Added line #L1190 was not covered by tests

Check warning on line 98 in falcon/util/mediatypes.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

falcon/util/mediatypes.py#L98

Added line #L98 was not covered by tests

Check warning on line 105 in falcon/util/mediatypes.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

falcon/util/mediatypes.py#L105

Added line #L105 was not covered by tests

Check warning on line 107 in falcon/util/mediatypes.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

falcon/util/mediatypes.py#L107

Added line #L107 was not covered by tests

Check warning on line 109 in falcon/util/mediatypes.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

falcon/util/mediatypes.py#L109

Added line #L109 was not covered by tests

Check warning on line 111 in falcon/util/mediatypes.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

falcon/util/mediatypes.py#L111

Added line #L111 was not covered by tests

Check warning on line 124 in falcon/util/mediatypes.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

falcon/util/mediatypes.py#L124

Added line #L124 was not covered by tests

Check warning on line 129 in falcon/util/mediatypes.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

falcon/util/mediatypes.py#L127-L129

Added lines #L127 - L129 were not covered by tests

Check warning on line 132 in falcon/util/mediatypes.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

falcon/util/mediatypes.py#L132

Added line #L132 was not covered by tests

Check warning on line 156 in falcon/util/mediatypes.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

falcon/util/mediatypes.py#L153-L156

Added lines #L153 - L156 were not covered by tests

Check warning on line 163 in falcon/util/mediatypes.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

falcon/util/mediatypes.py#L160-L163

Added lines #L160 - L163 were not covered by tests

Check warning on line 169 in falcon/util/mediatypes.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

falcon/util/mediatypes.py#L169

Added line #L169 was not covered by tests

Check warning on line 173 in falcon/util/mediatypes.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

falcon/util/mediatypes.py#L171-L173

Added lines #L171 - L173 were not covered by tests

Check warning on line 177 in falcon/util/mediatypes.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

falcon/util/mediatypes.py#L177

Added line #L177 was not covered by tests

Check warning on line 180 in falcon/util/mediatypes.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

falcon/util/mediatypes.py#L180

Added line #L180 was not covered by tests

Check warning on line 187 in falcon/util/mediatypes.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

falcon/util/mediatypes.py#L187

Added line #L187 was not covered by tests

Check warning on line 191 in falcon/util/mediatypes.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

falcon/util/mediatypes.py#L191

Added line #L191 was not covered by tests

Check warning on line 193 in falcon/util/mediatypes.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

falcon/util/mediatypes.py#L193

Added line #L193 was not covered by tests

Check warning on line 195 in falcon/util/mediatypes.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

falcon/util/mediatypes.py#L195

Added line #L195 was not covered by tests