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

    lmtr0

    05/03/2022, 6:22 PM
    oh
  • l

    lmtr0

    05/03/2022, 6:22 PM
    haven't seen that one
  • l

    lmtr0

    05/03/2022, 6:22 PM
    thx
  • j

    john.spurlock

    05/03/2022, 6:24 PM
    https://docs.aws.amazon.com/AmazonS3/latest/userguide/UsingMetadata.html#UserMetadata
  • v

    vasco-santos

    05/03/2022, 6:30 PM
    What error do you get?
  • e

    Erisa | Support Engineer

    05/03/2022, 6:31 PM
    There is no error, it just doesn't resize the image because the
    fetch
    on a service binding doesn't support the
    cf: {image: {} }
    properties
  • v

    vasco-santos

    05/03/2022, 6:31 PM
    Oh I see. I was asking because I am also hitting issues using worker binding response to put in R2 and could be related to that, and not to the actual image resizing
  • e

    Erisa | Support Engineer

    05/03/2022, 6:32 PM
    Nah itll be unrelated - what issues are you having though?
  • v

    vasco-santos

    05/03/2022, 6:52 PM
    this https://discord.com/channels/595317990191398933/940663374377783388/968533593351663676
  • v

    Vitali

    05/03/2022, 7:16 PM
    But why do you need to do that through a service binding? Can't you just do a normal fetch?
  • v

    Vitali

    05/03/2022, 7:16 PM
    Cross-zone fetches work just fine
  • e

    Erisa | Support Engineer

    05/03/2022, 7:16 PM
    Ah cross zone is how you make it work? I was under the impression that a worker fetching another worker didnt work properly
  • v

    Vitali

    05/03/2022, 7:17 PM
    Works fine if they're separate zones
  • v

    Vitali

    05/03/2022, 7:17 PM
    You need to use bindings only for same zone subrequests
  • e

    Erisa | Support Engineer

    05/03/2022, 7:22 PM
    👍
  • i

    itsmatteomanf

    05/03/2022, 7:33 PM
    Are the read/write and storage stats supposed to work in the UI?
  • i

    Isaac McFadyen | YYZ01

    05/03/2022, 7:33 PM
    Nope, not yet.
  • i

    itsmatteomanf

    05/03/2022, 7:33 PM
    Oh, gotcha... I was worried ahah
  • i

    itsmatteomanf

    05/03/2022, 7:33 PM
    Gotta use the GraphQL API, then, if I wanted to know.
  • v

    Vitali

    05/03/2022, 7:33 PM
    Also, I don't think service bindings work across zones so it's an either or kind of thing
  • i

    itsmatteomanf

    05/03/2022, 7:34 PM
    Service Bindings are account level, as Workers are.
  • v

    Vitali

    05/03/2022, 7:34 PM
    Read/write is hooked up in graphql. Storage stats are being recorded but not processed fully end-to-end yet
  • v

    Vitali

    05/03/2022, 7:34 PM
    I don't have visibility into the UI having those stats hooked up
  • i

    itsmatteomanf

    05/03/2022, 7:35 PM
    No worries, I was just curios as I was putting data in ahah
  • i

    itsmatteomanf

    05/03/2022, 7:35 PM
    They all showed 0 so... ahah
  • i

    itsmatteomanf

    05/03/2022, 7:37 PM
    Just out of curiosity, will the UI ever show
    /
    as folders someday?
  • v

    Vitali

    05/03/2022, 8:11 PM
    Yes
  • v

    Vitali

    05/03/2022, 8:11 PM
    Release going out shortly: * Pagination cursor is no longer returned when there are exactly as many objects in a bucket as the maxKeys argument * S3's ListBuckets endpoint now accepts cf-max-keys, cf-start-after and cf-continuation-token headers for. They behave the same way as the corresponding URL search params for ListBuckets and when using a client that can inject headers but won't let you alter the search params. * APIv4 ListBuckets & ListObjects now allow per_page to be 0 * S3 Copy object source requires a leading slash now * CopyObject returns a 404 NoSuchBucket when copying to a non existent bucket instead of a 500 Internal Server Error:. * Enforce requirement that "region" is specified as "auto" in SigV4 (and CreateBucket if a location constraint is provided there). * S3 CreateBucket now returns the Location header.
  • v

    Vitali

    05/03/2022, 8:13 PM
    I have no idea how to make bullet points
  • d

    Dani Foldi

    05/03/2022, 8:25 PM
    there is no "built-in" way
1...111112113...1050Latest