https://discord.cloudflare.com logo
Join Discord
Powered by
# r2
  • c

    computeronix

    03/01/2023, 8:33 PM
    does r2 natively support br compressed items? (custom domains) not a CF worker in front where I have it working
  • i

    ImJasonH

    03/01/2023, 9:02 PM
    Is there an API to create and delete tokens? I don't even mind writing my own rotator if there are APIs
  • e

    Erisa | Support Engineer

    03/01/2023, 9:05 PM
    there is, api tokens can create other tokens and tokens can be set to expire and be rotated over api
  • e

    Erisa | Support Engineer

    03/01/2023, 9:05 PM
    so you can do it yourself
  • e

    Erisa | Support Engineer

    03/01/2023, 9:06 PM
    don't have the docs link to hand rn
  • p

    PaganMuffin

    03/01/2023, 9:06 PM
    I'm getting 1007 on dashboard when trying to get information about single object in bucket. File exist since i can access it through custom or r2.dev domain I can't find anything about this error in discord so I don't know if it's common like 1000 in dashboard 😅
  • e

    Erisa | Support Engineer

    03/01/2023, 9:07 PM
    @Sid | R2 looks like another instance of the one you looked at a little earlier?
  • a

    aeharding

    03/01/2023, 9:08 PM
    404 for me
  • s

    Sid | R2

    03/01/2023, 9:11 PM
    This should be fixed as of a few minutes ago, are you still seeing errors?
  • p

    PaganMuffin

    03/01/2023, 9:12 PM
    No
  • e

    Erisa | Support Engineer

    03/01/2023, 9:12 PM
    yay
  • r

    Rph

    03/01/2023, 9:35 PM
    how long does it take for "CNAME Cross user banned" to go away on domain bindings?
  • c

    computeronix

    03/01/2023, 9:42 PM
    in the GUI for R2 is there a way to change the mime-type or all done in a CF worker today?
  • s

    Skye

    03/01/2023, 9:46 PM
    It'll pick up the mime type from the content-type header given when uploading (& for a number of file extensions I believe it works it out fine too)
  • s

    Skye

    03/01/2023, 9:47 PM
    You can't change it for already uploaded files
  • c

    computeronix

    03/01/2023, 9:47 PM
    ohh you can't? need to add that. for example my .js file is shown as application/octet so doesnt work. needs to be text/javascript
  • c

    computeronix

    03/01/2023, 9:47 PM
    im trying to use custom domains without a CF worker in front to test performance and this is making it difficult
  • s

    Skye

    03/01/2023, 9:48 PM
    If you upload it with
    content-type: text/javascript
    it'll be served with that
  • c

    computeronix

    03/01/2023, 9:48 PM
    i used a drag n drop tool 😄
  • c

    computeronix

    03/01/2023, 9:49 PM
    for custom domains they should have a list of overrides based on extension of file and can put that in and let it override. that you can edit -> so that way when its pulled, it pulls with the proper one regardless of how it was uploaded
  • s

    Skye

    03/01/2023, 9:49 PM
    This is the standard behaviour for all of the S3-compatible storage solutions 🤷
  • s

    Skye

    03/01/2023, 9:50 PM
    If anything, the change would be for the drag and drop in the dashboard to try and guess the content type better
  • c

    computeronix

    03/01/2023, 9:50 PM
    ohh good point too
  • s

    Skye

    03/01/2023, 9:50 PM
    I believe tools like rclone generally do it quite well
  • c

    computeronix

    03/01/2023, 9:50 PM
    and auto do that based on extension type
  • c

    computeronix

    03/01/2023, 9:50 PM
    opening a case with the tool i am using to get them to fix 😄
  • c

    computeronix

    03/01/2023, 9:50 PM
    i think windows works well (based on windows extension) but macos it looks like they dont do well
  • e

    Erisa | Support Engineer

    03/01/2023, 9:51 PM
    like a few minutes at worst?
  • r

    Rph

    03/01/2023, 9:52 PM
    in my case it seems to have taken like an hour, but yeah it's resolved now
  • e

    Erisa | Support Engineer

    03/01/2023, 9:52 PM
    spooky
1...925926927...1050Latest