question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Switch to .blob render extension for BLOB downloads

See original GitHub issue

This may require a complete rethink of the /db/table/-/blob/row/column.blob mechanism I just built for #1036.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:10 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
simonwcommented, Oct 29, 2020

@thadk from that error it looks like the problem may have been that you had a BLOB column containing a null value? If so that’s definitely a bug, I’ll fix that.

0reactions
simonwcommented, Oct 29, 2020

Idea: what if Datasette had a custom SQLite function that could be used to generate URLs to the row-level BLOB download for a value? Then custom SQL query authors could use that function to link to the relevant content.

This could be expanded to exposing other datasette.urls functionality as well.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to set the download file extension for blob data
Use the download for data uri works as the question Is there any way to specify a suggested filename when using data: URI?...
Read more >
How to set the content type of Azure Storage Blobs based on ...
On the popup window that opens, all I have to do is select “Assign Content Type based on Blob Extension” option under “Content...
Read more >
Blob - The Modern JavaScript Tutorial
createObjectURL is to convert a Blob into a base64-encoded string. That encoding represents binary data as a string of ultra-safe “readable” ...
Read more >
How to download video with blob url? - Super User
I found a way to download the video with blob url in Vimeo (reading here i understood how doing it). I write the...
Read more >
Azure Blob Storage
Azure Blob Storage helps you create data lakes for your analytics needs, and provides storage to build powerful cloud-native and mobile apps.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found