Skip to content

431 headers too long for some URI lengths

Summary

import linkahead as db

try:
    db.execute_query("0123456789" * 815)
except db.HTTPURITooLongError as err:
    print(err.msg)

Expected Behavior

Should give an HTTPURITooLongError so the URI can be shortened if necessary.

Actual Behavior

Does not.

Steps to Reproduce the Problem

Run that code.

Specifications

  • Version: Which version of this software?
  • Platform: Which operating system, which other relevant software versions?

Possible fixes

Do you have ideas how the issue can be resolved?

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information