Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
caosdb-pylib
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
caosdb
Software
caosdb-pylib
Commits
ec0ef566
Verified
Commit
ec0ef566
authored
1 year ago
by
Daniel Hornung
Browse files
Options
Downloads
Patches
Plain Diff
FIX: Header too long
parent
7d76f8b9
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!123
TEST: xfail for issue 111
,
!121
Container could fail to delete when there were reference properties
Pipeline
#44469
passed
1 year ago
Stage: code_style
Stage: linting
Stage: test
Stage: deploy
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CHANGELOG.md
+1
-0
1 addition, 0 deletions
CHANGELOG.md
src/linkahead/connection/connection.py
+2
-1
2 additions, 1 deletion
src/linkahead/connection/connection.py
with
3 additions
and
1 deletion
CHANGELOG.md
+
1
−
0
View file @
ec0ef566
...
...
@@ -18,6 +18,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Fixed ###
-
[
#113
](
https://gitlab.com/linkahead/linkahead-pylib/-/issues/113
)
Container could fail to delete when there were reference properties.
-
HTTP status 431 (Headers too long) now also raises an URI too long exception.
### Security ###
...
...
This diff is collapsed.
Click to expand it.
src/linkahead/connection/connection.py
+
2
−
1
View file @
ec0ef566
...
...
@@ -509,7 +509,8 @@ def _handle_response_status(http_response):
raise
LoginFailedError
(
standard_message
)
elif
status
==
403
:
raise
HTTPForbiddenError
(
standard_message
)
elif
status
in
(
413
,
414
):
elif
status
in
(
413
,
414
,
431
):
# Content (413), URI (414) or complete HTTP headers (URI+headers) (431) too long
raise
HTTPURITooLongError
(
standard_message
)
elif
399
<
status
<
500
:
raise
HTTPClientError
(
msg
=
standard_message
,
status
=
status
,
body
=
body
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment