Git Product home page Git Product logo

Comments (16)

Fishrock123 avatar Fishrock123 commented on May 23, 2024

Keep in mind that this isn't a flag for compressibility: tarballs are well known to work well with gzip.

from mime-db.

Fishrock123 avatar Fishrock123 commented on May 23, 2024

Also note that partial text / binary files do exist.

from mime-db.

jonathanong avatar jonathanong commented on May 23, 2024

what would ew call this field? encoding? some values:

  • text
  • binary
  • ['text', 'binary']?

from mime-db.

dougwilson avatar dougwilson commented on May 23, 2024

representation?

from mime-db.

jonathanong avatar jonathanong commented on May 23, 2024

i'm wondering how we would name this field and how to represent all the possible values as @Fishrock123 stated

from mime-db.

dougwilson avatar dougwilson commented on May 23, 2024

i meant representation as a possible name, haha. sorry, was on a phone at that time, so didn't want to type a lot

from mime-db.

jonathanong avatar jonathanong commented on May 23, 2024

oh. that's not what i think of when i read "representation".

from mime-db.

jonathanong avatar jonathanong commented on May 23, 2024

so shall we use representation or what? i think it should be encodings or something. otherwise, we can delay this until after v1 since it shouldn't break anything

from mime-db.

mdedetrich avatar mdedetrich commented on May 23, 2024

+1

Just stating it would be incredibly handy for our webserver if we can differentiate whether a file has binary support or not.

Also confirming that compressable and binary are not related

Also happy with representation as a name

from mime-db.

dougwilson avatar dougwilson commented on May 23, 2024

I'm implementing this and going with encoding as the name, as it's what the IANA database uses.

from mime-db.

Fishrock123 avatar Fishrock123 commented on May 23, 2024

Sounds good. But then is should be the actual encoding, not just binary / text.

Edit: oh, right, that doesn't make much sense for text.

Edit2: wrong damn button

from mime-db.

dougwilson avatar dougwilson commented on May 23, 2024

Darn the registry is so old, lol. SO many say 8bit or 7bit because of email and stuff.

from mime-db.

dougwilson avatar dougwilson commented on May 23, 2024

Apparently they come from ye olde RFC 1341, which specifies them as this:

  • base64
  • quoted-printable
  • 7bit "[...] means that the data is all represented as short lines of US-ASCII data."
  • 8bit "[...] means that the lines are short, but there may be non-ASCII characters (octets with the high-order bit set)"
  • binary "[...] means that not only may non-ASCII characters be present, but also that the lines are not necessarily short enough for SMTP transport"

from mime-db.

Fishrock123 avatar Fishrock123 commented on May 23, 2024

wow, real useful lol

from mime-db.

dougwilson avatar dougwilson commented on May 23, 2024

So I think what I'm going to do is export a encoding property that is either "text" or "binary". If someone really wants to know about the above, we can always export a transferEncoding property or some such.

from mime-db.

DutchBoyScowden1 avatar DutchBoyScowden1 commented on May 23, 2024
      Also note that partial text / binary files do exist.

Are you in Instance talking of Binary Text such as Platform based, Given units of measurement Platform based units such as 3a3ec68c <--- in short until creating a name for the game server your name remains this, now this is Short or not a real Binary from anything I'm working on Just tagged partial from a file'
jonathanong wanted to know a good name for his Folder I have a good name if, this is a short example:

from mime-db.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.