To encode or not to encode path parts in GCS?

Viewed 1250

Should path parts be encoded or not encoded when it comes to Google Cloud Storage?

Encoding URI path parts says they should be encoded, but Object names talks about the possibility of naming GCS objects in a seemingly-hierarchical manner...

So if I name an object abc/xyz, is the path to my object https://www.googleapis.com/storage/v1/b/example-bucket/o/abc%2fxyz or https://www.googleapis.com/storage/v1/b/example-bucket/o/abc/xyz?

Which is it!? Somebody please help me with this confusion.

1 Answers
Related