Giter VIP home page Giter VIP logo

Comments (5)

jcheng5 avatar jcheng5 commented on August 10, 2024

Sorry, it's a bug. Shiny returns a list(file="foo") and I inadvertently count on that. I'll get that fixed.

from httpuv.

jeroen avatar jeroen commented on August 10, 2024

Ok great I got my rook app to work now.

Edit: let me open a separate issue about the mime parser.

from httpuv.

jcheng5 avatar jcheng5 commented on August 10, 2024

I'm about to push a fix for this.

I have to admit I didn't know about the structure function until earlier this week. Is there an advantage to structure(myfile, names="file") over c(file=myfile)?

BTW, in case it's helpful to you, the reason Shiny returns a list is because you can optionally add a boolean owned value; if true, then httpuv will delete the file when it's done sending it. e.g. list(file=myfile, owned=TRUE)

from httpuv.

jeroen avatar jeroen commented on August 10, 2024

Ah. I am handling this in the code itself. I think I'll stick with the Rook spec so that the app is portable.

from httpuv.

jcheng5 avatar jcheng5 commented on August 10, 2024

Fixed in 6a6c126

from httpuv.

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.