Skip to content

[FIX] fastapi: Avoid process stuck in case of retry of Post request w…

Codecov / codecov/patch succeeded Jun 27, 2024 in 1s

92.30% of diff hit (target 89.15%)

View this Pull Request on Codecov

92.30% of diff hit (target 89.15%)

Annotations

Check warning on line 56 in fastapi/seekable_stream.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

fastapi/seekable_stream.py#L56

Added line #L56 was not covered by tests

Check warning on line 78 in fastapi/seekable_stream.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

fastapi/seekable_stream.py#L78

Added line #L78 was not covered by tests

Check warning on line 87 in fastapi/seekable_stream.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

fastapi/seekable_stream.py#L87

Added line #L87 was not covered by tests

Check warning on line 90 in fastapi/seekable_stream.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

fastapi/seekable_stream.py#L90

Added line #L90 was not covered by tests

Check warning on line 101 in fastapi/seekable_stream.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

fastapi/seekable_stream.py#L101

Added line #L101 was not covered by tests

Check warning on line 83 in fastapi/tests/test_seekable_stream.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

fastapi/tests/test_seekable_stream.py#L83

Added line #L83 was not covered by tests

Check warning on line 86 in fastapi/tests/test_seekable_stream.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

fastapi/tests/test_seekable_stream.py#L86

Added line #L86 was not covered by tests