You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The URLOpener options for fileblob define the URL option string for the new NoTempDir option inconsistently, meaning it is impossible to actually set this option using the URL method.
Add ?no_temp_dir=true to the bucket URL string passed to blob.OpenBucket. Opening the bucket returns an error message invalid query parameter "no_temp_dir"
Add ?no_tmp_dir=true to the bucket URL string passed to blob.OpenBucket. The option has no effect.
Expected behavior
The NoTempDir option is set for the bucket with no error message.
Describe the bug
The
URLOpener
options forfileblob
define the URL option string for the newNoTempDir
option inconsistently, meaning it is impossible to actually set this option using the URL method.In
UrlOpener.forParams()
the string is defined asno_temp_dir
but therecognizedParams
list (and the documentation) defines it asno_tmp_dir
.To Reproduce
Add
?no_temp_dir=true
to the bucket URL string passed toblob.OpenBucket
. Opening the bucket returns an error messageinvalid query parameter "no_temp_dir"
Add
?no_tmp_dir=true
to the bucket URL string passed toblob.OpenBucket
. The option has no effect.Expected behavior
The
NoTempDir
option is set for the bucket with no error message.Version
master
Additional context
Introduced in #3296 / a048d52, relevant to #3294
The text was updated successfully, but these errors were encountered: